import request from '@/utils/request'

// 查询列表
export function delModule(data) {
  return request({
    url: '/content/del',
    method: 'post',
    data: data
  })
}

// 查询订单详细
export function getOrder(orderNo) {
  return request({
    url: '/order/' + orderNo,
    method: 'get'
  })
}

// 订单发货
export function sendOrder(orderNo, data) {
  return request({
    url: '/order/' + orderNo + '/send',
    method: 'post',
    data: data
  })
}

// 修改订单
export function updateOrder(data) {
  return request({
    url: '/order/edit',
    method: 'post',
    data: data
  })
}
